package myLucene;

import java.io.IOException;
import java.util.LinkedList;

import org.apache.lucene.index.CorruptIndexException;
import org.apache.lucene.index.IndexReader;

public class TF {
	public static void getTF(IndexReader iReader, int docNumber, int start,
			int end, int[] tf, LinkedList<Integer>[] dist) throws CorruptIndexException, IOException {
		int counterLeft =0;
		int counterRigth =0;
		int sent =0;
		String[] sentWords = iReader.document(docNumber).getValues(
		"content");
		String[] sentIndices = iReader.document(docNumber - sent)
		.getValues(Props.queryField);
		if(start<=Props.windowSize/2){
			
			
		}

	}
	

}
